package com.ruoyi.tzzl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tzzl.domain.WzComment;

import java.util.List;

/**
 * 动态评论Service接口
 *
 * @author by caoyong
 * @date 2022/11/18
 **/
public interface IWzCommentsService extends IService<WzComment> {


    /**添加评论*/
    boolean addComment(WzComment wzComment);

    /**回复评论*/
    boolean replyToComments(WzComment wzComment);

    /**
     * 查询动态评论列表
     */
    List<WzComment> getByDid(Long id);

    /**查看回复评论集合*/
    List<WzComment> getByPid(Long id);



}
